home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / Worksheet < prev   
Encoding:
Text File  |  1998-12-04  |  3.7 KB  |  82 lines  |  [TEXT/MPS ]

  1. # Macintosh Programmer's Workshop
  2. #
  3. #    Copyright Apple Computer, Inc. 1985-1998
  4. # All rights reserved.
  5.  
  6. # Use the "Mark" menu for rapid access to sections of this material.
  7.  
  8. # Help summaries are available for each of the MPW commands.  
  9. # To see the list of all commands enter "Help Commands".  To see
  10. # a partial list of commands, e.g., those relating to compilers, enter
  11. # "Help Languages".  Some commands may appear in more than one category.
  12. # In addition, brief descriptions of Expressions, Patterns, Selections,
  13. # Characters, Shortcuts, and Variables, are also included.
  14. #
  15. # To see Help summaries, Enter a command such as
  16.  
  17.     Help Commands       # a list of all commands
  18.     Help Editing        # a list of commands useful for editing
  19.     Help FileSystem     # a list of commands relating to files, directories, and volumes
  20.     Help Languages      # a list of compiler/assembler names
  21.     Help Miscellaneous  # a list of commands useful for software development
  22.     Help Projector      # a list of commands in Projector, a project/source control system
  23.     Help Resources      # a list of commands useful in processing resources
  24.     Help Scripting      # a list of commands useful primarily within scripts
  25.     Help System         # a list of commands that perform system functions
  26.     Help Window         # a list of commands pertaining to windows
  27.  
  28.     Help CFM-68K        # a list of commands useful for CFM-68K development
  29.     Help PowerMacintosh # a list of commands useful for Power Macintosh development
  30.  
  31.     Help Launch         # information on launching applications from the Shell
  32.     Help Variables      # summary of the standard MPW shell variables
  33.     Help Characters     # summary of MPW Shell special characters
  34.     Help Expressions    # summary of expressions
  35.     Help Selections     # summary of selections
  36.     Help Patterns       # summary of patterns (regular expressions)
  37.     Help Shortcuts      # summary of MPW Shell shortcuts
  38.  
  39. # Graphical Interfaces - Commando
  40. #
  41. # Each command in MPW has a graphical interface for specifying parameters 
  42. # and options.  To use this feature, either follow the command name with an 
  43. # ellipsis character (Option-semicolon), or use the command name alone, but 
  44. # depress the Option key while pressing Enter.  Notice the help text for 
  45. # each of the options.
  46. #
  47. # For an example, select and execute the Date command below.
  48. # (Triple click on the line and press the Enter key.)
  49.  
  50. Date…
  51.  
  52. # Examples
  53. #
  54. # To investigate any of the examples below, select and execute one of the
  55. # following commands (Triple click on the line and press the Enter key): 
  56.  
  57. Open "{MPW}"Examples:AExamples:Instructions          # Assembly Language
  58. Open "{MPW}"Examples:CExamples:Instructions          # C
  59. Open "{MPW}"Examples:Examples:Instructions           # Shell Scripts and Aliases
  60. Open "{MPW}"Examples:32BitAExamples:Instructions     # ASM with 32-bit Everything
  61. Open "{MPW}"Examples:SIOWExamples:Instructions       # SIOW
  62. Open "{MPW}"Examples:ProjectorExamples:Instructions  # Projector (demo project)
  63. Open "{MPW}"Examples:ToolServerExamples:Instructions # Useful ToolServer interface
  64. Open "{MPW}"Examples:HyperXExamples:Instructions     # XCMD and XFCN examples
  65.  
  66. # Searching
  67. # There occasionally arises the need to search all of a hierarchical directory/file
  68. # structure for instances of some constant string or regular expression.  
  69. # The following commands can be used to accomplish this:
  70. #
  71. #     search 'String' -rd -t TEXT DirectoryName
  72. #     search /RegExp/ -rd -t TEXT DirectoryName
  73. #
  74. # Examples:
  75.  
  76.       search 'kPowerPCArch' -rd -t TEXT "{cincludes}"
  77.       search /kPowerPCArch/ -rd -t TEXT "{cincludes}"
  78.       search /[a-zA-Z]+PowerPC[a-zA-Z]+/ -rd -t TEXT "{cincludes}"
  79.  
  80. ------------------------------------------------------------------------------------
  81.